projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a3d3c
)
arm: socfpga: board: Correctly set ATAG position
author
Pavel Machek
<
[email protected]
>
Mon, 8 Sep 2014 12:08:45 +0000
(14:08 +0200)
committer
Marek Vasut
<
[email protected]
>
Mon, 6 Oct 2014 15:46:50 +0000
(17:46 +0200)
The bi_boot_params must point to offset 0x100 in DRAM. Make it so.
Signed-off-by: Pavel Machek <
[email protected]
>
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Chin Liang See <
[email protected]
>
Cc: Dinh Nguyen <
[email protected]
>
Cc: Albert Aribaud <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
Cc: Wolfgang Denk <
[email protected]
>
Cc: Pavel Machek <
[email protected]
>
board/altera/socfpga/socfpga_cyclone5.c
patch
|
blob
|
history
diff --git
a/board/altera/socfpga/socfpga_cyclone5.c
b/board/altera/socfpga/socfpga_cyclone5.c
index fb92852d5f56ad31a4972779d019c01a3ba34068..bc8a87c648f64ebe9791c02c7e9859d151cc1f1d 100644
(file)
--- a/
board/altera/socfpga/socfpga_cyclone5.c
+++ b/
board/altera/socfpga/socfpga_cyclone5.c
@@
-35,5
+35,9
@@
int board_early_init_f(void)
int board_init(void)
{
icache_enable();
+
+ /* Address of boot parameters for ATAG (if ATAG is used) */
+ gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
+
return 0;
}